﻿/**
 * Table of Contents:
 *
 * 1.0 - 默认重置
 * 2.0 - 基本设置
 * 3.0 - Bootstrap
 *   3.1 - Bootstrap 拓展
 *   3.2 - Bootstrap 调整
 * 4.0 - 布局
 * ----------------------------------------------------------------------------
 */


/**
 * 1.0 默认重置
 *
 * 干掉那些不用的默认样式
 * 
 * ----------------------------------------------------------------------------
 */
html, body {
    width: 100%;
    height: 100%;
}

body {
    background-color: #ededef;
}


/**
 * 2.0 系统常用基本样式
 *
 * 一些常用到的工具类
 * 
 * ----------------------------------------------------------------------------
 */


/**
 * 3.0 Bootstrap
 *
 * 基于Bootstrap的扩展
 * 
 * ----------------------------------------------------------------------------
 */

/**
 * 3.1 Bootstrap Extension
 *
 * 基于Bootstrap的扩展
 * 
 * ----------------------------------------------------------------------------
 */
.navbar-dark {
    background-color: #444;
    border-color: #080808;
}

    .navbar-dark .navbar-brand {
        color: #999;
    }

        .navbar-dark .navbar-brand:hover,
        .navbar-dark .navbar-brand:focus {
            color: #fff;
            background-color: transparent;
        }

    .navbar-dark .navbar-text {
        color: #999;
    }

    .navbar-dark .navbar-nav > li > a {
        color: #999;
    }

        .navbar-dark .navbar-nav > li > a:hover,
        .navbar-dark .navbar-nav > li > a:focus {
            color: #fff;
            background-color: transparent;
        }

    .navbar-dark .navbar-nav > .active > a,
    .navbar-dark .navbar-nav > .active > a:hover,
    .navbar-dark .navbar-nav > .active > a:focus {
        color: #fff;
        background-color: #080808;
    }

    .navbar-dark .navbar-nav > .disabled > a,
    .navbar-dark .navbar-nav > .disabled > a:hover,
    .navbar-dark .navbar-nav > .disabled > a:focus {
        color: #444;
        background-color: transparent;
    }

    .navbar-dark .navbar-toggle {
        border-color: #333333;
    }

        .navbar-dark .navbar-toggle:hover,
        .navbar-dark .navbar-toggle:focus {
            background-color: #333333;
        }

        .navbar-dark .navbar-toggle .icon-bar {
            background-color: #fff;
        }

    .navbar-dark .navbar-collapse,
    .navbar-dark .navbar-form {
        border-color: #101010;
    }

    .navbar-dark .navbar-nav > .open > a,
    .navbar-dark .navbar-nav > .open > a:hover,
    .navbar-dark .navbar-nav > .open > a:focus {
        color: #fff;
        background-color: #080808;
    }

@media (max-width: 767px) {
    .navbar-dark .navbar-nav .open .dropdown-menu > .dropdown-header {
        border-color: #080808;
    }

    .navbar-dark .navbar-nav .open .dropdown-menu .divider {
        background-color: #080808;
    }

    .navbar-dark .navbar-nav .open .dropdown-menu > li > a {
        color: #999;
    }

        .navbar-dark .navbar-nav .open .dropdown-menu > li > a:hover,
        .navbar-dark .navbar-nav .open .dropdown-menu > li > a:focus {
            color: #fff;
            background-color: transparent;
        }

    .navbar-dark .navbar-nav .open .dropdown-menu > .active > a,
    .navbar-dark .navbar-nav .open .dropdown-menu > .active > a:hover,
    .navbar-dark .navbar-nav .open .dropdown-menu > .active > a:focus {
        color: #fff;
        background-color: #080808;
    }

    .navbar-dark .navbar-nav .open .dropdown-menu > .disabled > a,
    .navbar-dark .navbar-nav .open .dropdown-menu > .disabled > a:hover,
    .navbar-dark .navbar-nav .open .dropdown-menu > .disabled > a:focus {
        color: #444;
        background-color: transparent;
    }
}

.navbar-dark .navbar-link {
    color: #999;
}

    .navbar-dark .navbar-link:hover {
        color: #fff;
    }

/* #04a4cc, #d64e07, #999, #e5e5e5 */
.navbar-light {
    background-color: #04a4cc;
    border-color: #d64e07;
}

    .navbar-light .navbar-brand {
        color: #fff;
    }

        .navbar-light .navbar-brand:hover,
        .navbar-light .navbar-brand:focus {
            color: #e0e0e0;
            background-color: transparent;
        }

    .navbar-light .navbar-text {
        color: #999;
    }

    .navbar-light .navbar-nav > li > a {
        color: #fff;
    }

        .navbar-light .navbar-nav > li > a:hover,
        .navbar-light .navbar-nav > li > a:focus {
            color: #e5e5e5;
            background-color: transparent;
        }

    .navbar-light .navbar-nav > li:hover > a,
    .navbar-light .navbar-nav > .active > a,
    .navbar-light .navbar-nav > .active > a:hover,
    .navbar-light .navbar-nav > .active > a:focus {
        color: #e5e5e5;
        background-color: #d64e07;
    }

    .navbar-light .navbar-nav > .disabled > a,
    .navbar-light .navbar-nav > .disabled > a:hover,
    .navbar-light .navbar-nav > .disabled > a:focus {
        color: #04a4cc;
        background-color: transparent;
    }

    .navbar-light .navbar-toggle {
        border-color: #e5e5e5;
    }

        .navbar-light .navbar-toggle:hover,
        .navbar-light .navbar-toggle:focus {
            background-color: #d64e07;
        }

        .navbar-light .navbar-toggle .icon-bar {
            background-color: #e5e5e5;
        }

    .navbar-light .navbar-collapse,
    .navbar-light .navbar-form {
        border-color: #e5e5e5;
    }

    .navbar-light .navbar-nav > .open > a,
    .navbar-light .navbar-nav > .open > a:hover,
    .navbar-light .navbar-nav > .open > a:focus {
        color: #fff;
        background-color: #d64e07;
    }

@media (max-width: 767px) {
    .navbar-light .navbar-nav .open .dropdown-menu > .dropdown-header {
        border-color: #d64e07;
    }

    .navbar-light .navbar-nav .open .dropdown-menu .divider {
        background-color: #d64e07;
    }

    .navbar-light .navbar-nav .open .dropdown-menu > li > a {
        color: #999;
    }

        .navbar-light .navbar-nav .open .dropdown-menu > li > a:hover,
        .navbar-light .navbar-nav .open .dropdown-menu > li > a:focus {
            color: #fff;
            background-color: transparent;
        }

    .navbar-light .navbar-nav .open .dropdown-menu > .active > a,
    .navbar-light .navbar-nav .open .dropdown-menu > .active > a:hover,
    .navbar-light .navbar-nav .open .dropdown-menu > .active > a:focus {
        color: #fff;
        background-color: #d64e07;
    }

    .navbar-light .navbar-nav .open .dropdown-menu > .disabled > a,
    .navbar-light .navbar-nav .open .dropdown-menu > .disabled > a:hover,
    .navbar-light .navbar-nav .open .dropdown-menu > .disabled > a:focus {
        color: #04a4cc;
        background-color: transparent;
    }
}

.navbar-light .navbar-link {
    color: #999;
}

    .navbar-light .navbar-link:hover {
        color: #fff;
    }

/*大尺寸brand*/
.navbar-brand.navbar-brand-lg {
    float: left;
    font-weight: bold;
    padding: 13px 15px;
    font-size: 22px;
    line-height: 24px;
}

/**
 * 3.2 Bootstrap 调整
 *
 * 基于Bootstrap的调整
 * 
 * ----------------------------------------------------------------------------
 */

/**
 * 4.0 布局
 *
 * ----------------------------------------------------------------------------
 */
/**
 * 4.1 整体
 *
 * ----------------------------------------------------------------------------
 */
body.wide .container {
    width: 100%;
}
#nav{margin-bottom:0;}


@media (min-width: 768px) {
    body.fixed,body.fixed .container {
        max-width: 750px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (min-width: 992px) {
    body.fixed,body.fixed .container {
        max-width: 980px;
        margin-left: auto;
        margin-right: auto;
    }

    #sidebar {
        position: relative;
        float: left;
        left: auto;
        margin-bottom: -10px;
    }

    .sidebar-right #sidebar {
        float: right;
        right: 0;
    }

    #content {
        overflow: hidden;
        -ms-text-overflow: ellipsis;
        -o-text-overflow: ellipsis;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}

@media (min-width: 1200px) {
    body.fixed,body.fixed .container {
        max-width: 1170px;
        margin-left: auto;
        margin-right: auto;
    }
}
/**
 * 4.2 边栏
 *
 * ----------------------------------------------------------------------------
 */
#sidebar {
    position: absolute;
    width: 250px;
    -webkit-transition: left 0.3s ease-in-out 0s;
    -moz-transition: left 0.3s ease-in-out 0s;
    -o-transition: left 0.3s ease-in-out 0s;
    transition: left 0.3s ease-in-out 0s;
    z-index: 1;
    background: #333;
    left: -250px;
}

#sidebar.opened {
    left: 0;
}

.sidebar-right #sidebar {
    left: auto;
    right: -250px;
    -webkit-transition: right 0.3s ease-in-out 0s;
    -moz-transition: right 0.3s ease-in-out 0s;
    -o-transition: right 0.3s ease-in-out 0s;
    transition: right 0.3s ease-in-out 0s;
}
.sidebar-right #sidebar.opened {
    left: auto;
    right: 0;
}

@media (min-width: 992px) {
    #sidebar {
        position: relative;
        float: left;
        left: auto;
        margin-bottom: -10px;
    }

    .sidebar-right #sidebar {
        float: right;
        right: 0;
    }
}

/**
 * 4.2.1 菜单
 *
 * ----------------------------------------------------------------------------
 */
#menu,
#menu ul,
#menu li,
#menu a {
  padding: 0;
  margin: 0;
}
#menu,
#menu ul {
  list-style: none;
}
#menu li,
#menu a {
  position: relative;
  display: block;
}
#menu a,
#menu a:hover,
#menu a:focus,
#menu a:active {
  text-decoration: none;
}
    #menu > li > a {
        color: #ccc;
        border-top: 1px solid rgba(0, 0, 0, 0.3);
        -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
        -webkit-text-shadow: 0 1px 0 rgba(0, 0, 0, 0.5);
        text-shadow: 0 1px 0 rgba(0, 0, 0, 0.5);
        padding: 10px 0 10px 15px;
    }
#menu > li.active > a {
  background-color: #1a1a1a;
  color: #fff;
  -webkit-box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.3) inset;
  box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.3) inset;
}
#menu > li:hover > a,
#menu > li:focus > a {
  background-color: #404040;
  color: #fff;
  outline: none;
  -webkit-box-shadow: none;
  box-shadow: none;
}
#menu > li ul {
  border: 1px solid rgba(0, 0, 0, 0.3);
  -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  border-left-width: 0;
  background: #404040;
}
#menu > li ul a {
  padding: 11px 0 11px 30px;
  color: #ccc;
  font-size: 13px;
}
#menu > li ul a:hover {
  background-color: rgba(0, 0, 0, 0.1);
  color: #fff;
}
.u-isHiddenVisually {
  position: absolute !important;
  overflow: hidden !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  border: 0 !important;
  clip: rect(1px, 1px, 1px, 1px) !important;
}
@media (min-width: 992px) {
  body:not(.mini-sidebar) #menu li.active > ul,
  #menu.affix li > ul {
    position: relative;
    top: auto !important;
    left: auto !important;
    right: auto !important;
  }
  body:not(.mini-sidebar) #menu:not(.affix) li.active > ul {
    display: inherit;
  }
  #menu li > ul,
  .mini-sidebar #menu li > ul {
    position: absolute;
    top: 0;
    left: 100%;
    -webkit-box-shadow: none;
    box-shadow: none;
    min-width: 200px;
    z-index: 1;
  }
  #menu:not(.affix) li > ul,
  .mini-sidebar #menu:not(.affix) li > ul {
    display: none;
  }
  .mini-sidebar #menu > li > ul {
    top: 100%;
  }
  #menu li > ul > li > ul {
    top: -1px;
  }
  .side-right #menu li > ul {
    left: auto;
    right: 100%;
  }
  #menu:not(.affix) li:hover > ul {
    display: inherit;
  }
  #menu.affix {
    position: fixed;
    top: 0;
    width: 250px;
    overflow-x: hidden;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
  }
  #menu.affix:hover {
    overflow-y: scroll;
  }
}
@media (min-width: 992px) {
  .mini-sidebar #menu > li > a .fa {
    font-size: 18px;
  }
  .mini-sidebar #menu > li > a .fa.arrow {
    display: none;
  }
  .mini-sidebar #menu > li > a .link-title {
    border-top: 1px solid rgba(0, 0, 0, 0.3);
    border-right: 1px solid rgba(0, 0, 0, 0.3);
    -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
    position: absolute;
    left: 100%;
    top: -1px;
    z-index: 1;
    background: #404040;
    display: none;
    padding: 10px 30px;
  }
  .mini-sidebar #menu > li:hover > a > .link-title {
    display: block;
    min-width: 200px;
  }
  .mini-sidebar.side-right #menu > li > a .link-title {
    border-right-width: 0;
    border-left: 1px solid rgba(0, 0, 0, 0.3);
    left: auto;
    right: 100%;
  }
}
body:not(.mini-sidebar) #menu .nav-header {
    padding: 3px 15px !important;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 12px;
    color: #777;
    border-top: 1px solid rgba(0, 0, 0, 0.3);
    -webkit-box-shadow: 0px 1px 0px rgba(255, 255, 255, 0.05) inset;
    box-shadow: 0px 1px 0px rgba(255, 255, 255, 0.05) inset;
    -webkit-text-shadow: 0px 1px 0px rgba(0, 0, 0, 0.5);
    text-shadow: 0px 1px 0px rgba(0, 0, 0, 0.5);
    background: #404040;
}
#menu .nav-divider {
  border-top: 1px solid rgba(255, 255, 255, 0.01);
  height: 6px;
  margin: 0;
  background: rgba(0, 0, 0, 0.2);
  -webkit-box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.3) inset;
  box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.3) inset;
}
.mini-sidebar #menu .nav-header {
  position: absolute !important;
  overflow: hidden !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  border: 0 !important;
  clip: rect(1px, 1px, 1px, 1px) !important;
}
#menu .fa.arrow {
  float: right;
  padding-top: 3px;
  margin-right: 15px;
}
#menu .fa.arrow:before {
  content: "\f104";
}
#menu .active > a > .fa.arrow:before {
  content: "\f107";
}